package de.justphil.tcg.tcgserver.game.mechanics.game;

/**
 * 
 * @author Martin
 * 
 */
public interface UserInteractionObservable {

	/**
	 * Adds a listener to the observable
	 * 
	 * @param onUserInteractionListener
	 *            the listener
	 */
	void addOnUserInteractionListener(OnUserInteractionListener onUserInteractionListener);

	/**
	 * Removes a listener from the observable
	 * 
	 * @param onUserInteractionListener
	 *            the listener
	 * @return true if the listener could be removed, false otherwise.
	 */
	boolean removeOnUserInteractionListener(
			OnUserInteractionListener onUserInteractionListener);
}
